package com.zone.domain.award.repository;

import com.zone.domain.award.model.aggregate.UserAwardRecordAggregate;
import com.zone.domain.award.model.aggregate.UserCreditAggregate;
import com.zone.domain.award.model.entity.AwardEntity;
import com.zone.domain.award.model.entity.UserAwardRecordEntity;

/**
 * @author: zongzi
 * @description: TODO
 * @date: 2025/2/22
 */
public interface IAwardRepository {

    void saveUserAwardRecord(UserAwardRecordAggregate userAwardRecordAggregate);

    AwardEntity queryAward(Integer awardId);

    void saveUserCreditAccount(UserCreditAggregate userCreditAggregate);

    UserAwardRecordEntity queryUserAwardRecord(String userId, String orderId);
}
